Other Structs
The following structs are available globally.
-
Implementation of user authentication details
See moreDeclaration
Swift
public struct UserIdentity: iUserIdentity
-
Used to store all data associated with an non-serialized response of a data or upload request.
See moreDeclaration
Swift
public struct DefaultDataResponse
-
Used to store all data associated with a serialized response of a data or upload request.
See moreDeclaration
Swift
public struct DataResponse<Value>
-
Used to store all data associated with an non-serialized response of a download request.
See moreDeclaration
Swift
public struct DefaultDownloadResponse
-
Used to store all data associated with a serialized response of a download request.
See moreDeclaration
Swift
public struct DownloadResponse<Value>
-
The
See moreDynamicImageFilter
class simplifies custom image filter creation by using a trailing closure initializer.Declaration
Swift
public struct DynamicImageFilter: ImageFilter
-
The
See moreDynamicCompositeImageFilter
class is a composite image filter based on a specified array of filters.Declaration
Swift
public struct DynamicCompositeImageFilter: CompositeImageFilter
-
Scales an image to a specified size.
See moreDeclaration
Swift
public struct ScaledToSizeFilter: ImageFilter, Sizable
-
Scales an image from the center while maintaining the aspect ratio to fit within a specified size.
See moreDeclaration
Swift
public struct AspectScaledToFitSizeFilter: ImageFilter, Sizable
-
Scales an image from the center while maintaining the aspect ratio to fill a specified size. Any pixels that fall outside the specified size are clipped.
See moreDeclaration
Swift
public struct AspectScaledToFillSizeFilter: ImageFilter, Sizable
-
Rounds the corners of an image to the specified radius.
See moreDeclaration
Swift
public struct RoundedCornersFilter: ImageFilter, Roundable
-
Rounds the corners of an image into a circle.
See moreDeclaration
Swift
public struct CircleFilter: ImageFilter
-
Blurs an image using a
See moreCIGaussianBlur
filter with the specified blur radius.Declaration
Swift
public struct BlurFilter: ImageFilter
-
Scales an image to a specified size, then rounds the corners to the specified radius.
See moreDeclaration
Swift
public struct ScaledToSizeWithRoundedCornersFilter: CompositeImageFilter
-
Scales an image from the center while maintaining the aspect ratio to fit within a specified size, then rounds the corners to the specified radius.
See moreDeclaration
Swift
public struct AspectScaledToFillSizeWithRoundedCornersFilter: CompositeImageFilter
-
Scales an image to a specified size, then rounds the corners into a circle.
See moreDeclaration
Swift
public struct ScaledToSizeCircleFilter: CompositeImageFilter
-
Scales an image from the center while maintaining the aspect ratio to fit within a specified size, then rounds the corners into a circle.
See moreDeclaration
Swift
public struct AspectScaledToFillSizeCircleFilter: CompositeImageFilter
-
Creates a url-encoded query string to be set as or appended to any existing URL query string or set as the HTTP body of the URL request. Whether the query string is set or appended to any existing URL query string or set as the HTTP body depends on the destination of the encoding.
The
See moreContent-Type
HTTP header field of an encoded request with HTTP body is set toapplication/x-www-form-urlencoded; charset=utf-8
. Since there is no published specification for how to encode collection types, the convention of appending[]
to the key for array values (foo[]=1&foo[]=2
), and appending the key surrounded by square brackets for nested dictionary values (foo[bar]=baz
).Declaration
Swift
public struct URLEncoding: ParameterEncoding
-
Uses
See moreJSONSerialization
to create a JSON representation of the parameters object, which is set as the body of the request. TheContent-Type
HTTP header field of an encoded request is set toapplication/json
.Declaration
Swift
public struct JSONEncoding: ParameterEncoding
-
Uses
See morePropertyListSerialization
to create a plist representation of the parameters object, according to the associated format and write options values, which is set as the body of the request. TheContent-Type
HTTP header field of an encoded request is set toapplication/x-plist
.Declaration
Swift
public struct PropertyListEncoding: ParameterEncoding
-
Declaration
Swift
public struct Timeline
-
The object passed to a callback. Contains the value, key and the component used on.
See moreDeclaration
Swift
public struct InterpreterContext<C, V> : InterpreterComponentTyped, InterpreterValueTyped
-
A generic
See moreDataResponseSerializerType
used to serialize a request, response, and data into a serialized object.Declaration
Swift
public struct DataResponseSerializer<Value>: DataResponseSerializerProtocol
-
A generic
See moreDownloadResponseSerializerType
used to serialize a request, response, and data into a serialized object.Declaration
Swift
public struct DownloadResponseSerializer<Value>: DownloadResponseSerializerProtocol